package cn.com.aiouyi.service;

import java.util.List;

import cn.com.aiouyi.entity.Navigation;

/**
 * Service - 导航
 * @author hanson
 *
 */
public interface NavigationService extends BaseService<Navigation, Long>{

	/**
	 * 查找下级导航
	 * @param navigation 导航
	 * @param recursive 是否递归
	 * @param count 数量
	 * @return
	 */
	public List<Navigation> findChildren(Navigation navigation, boolean recursive, Integer count);
	
	/**
	 * 查找树
	 * @return
	 */
	public List<Navigation> findTree();
}
